<template>
  <div id="app">
    <!-- <router-view /> -->
    <button @click="login">点我</button>
  </div>
</template>

<script>
import axios from 'axios'
export default {
  name: 'App',
  methods: {
    async login(){
      let res = await axios({
        url:'/api/sys/login',
        method:'post',
        data:{
          mobile:'13800000002',
          password:'123456'
        }
      })
      console.log(res);
    }

  },
}
</script>
